AmeliaBooking\Application\Services\Payment\PaymentApplicationService D

Total Complexity 422
Dependencies 40
Dependents 0
Total lines 2,442
Lines of code 1,659
Logical lines of code 775
Comment lines 309
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
createPaymentLink()
D
6
109 329
updateAppointmentAndCache()
D
6
82 477
getPaymentsData()
D
22
58 171
processPayment()
D
21
47 209
getBookingInformationForPaymentSettings()
B
36 23 75
getAvailablePayments()
B
44 20 47
calculateAppointmentPrice()
B
36 15 84
setTransfers()
A
45 12 39
hasRelatedRefundablePayment()
A
52 8 24
updateCache()
A
47 7 38
getFullStatus()
A
55 8 19
delete()
S
46 5 43
isAllowedOnSitePaymentMethod()
S
59 6 14
addWcFields()
S
59 6 13
setPaymentsTransfers()
S
55 5 20
updateBookingPaymentDate()
S
62 3 12
insertPaymentFromLink()
S
57 2 16
setPaymentTransactionId()
S
66 3 9
__construct()
S
81 1 3
createSquarePaymentIntent()
S
65 1 9
prepareSquareAmount()
S
67 1 8